package com.xft.shiro.sevice.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xft.shiro.dao.UserInfoDao;
import com.xft.shiro.entity.UserInfo;
import com.xft.shiro.sevice.UserInfoService;

/**
 * 
 * @author Xft 2018年2月8日
 *
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Resource
    private UserInfoDao userInfoDao;

    @Override
    public UserInfo findByUsername(String username) {
        System.out.println("UserInfoServiceImpl.findByUsername()");
        return userInfoDao.findByUsername(username);
    }
}